package com.yfp.machine.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * 广告返回数据
 *
 * 
 * @date 2023/12/28
 */
public class AdDto implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 广告id
     */
    @Schema(title = "广告id")
    private String adId;
    /**
     * 广告名称
     */
    @Schema(title = "广告名称")
    private String name;
    /**
     * 广告类型（1：图片 2：视频）
     */
    @Schema(title = "广告类型（1：图片 2：视频）")
    private Integer type;

    @Schema(title = "资源url")
    private String resourceId;
    @Schema(title = "资源url")
    private String resourceUrl;

    @Schema(title = "视频时长")
    private String duration;

    @Schema(title = "备注")
    private String remark;

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getAdId() {
        return adId;
    }

    public void setAdId(String adId) {
        this.adId = adId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
